package com.acegear.horizon.domain.events;

/**
 * Created by caiyanying on 17/4/21.
 */
public class PostCommentDeleteEvent extends BaseEvent {

  private Long commentId;

  private PostEventType eventType;

  private String reason;


  public PostCommentDeleteEvent(Long commentId, PostEventType eventType, String reason) {

    this.commentId = commentId;
    this.eventType = eventType;
    this.reason = reason;
    genEventId();
  }

  public PostCommentDeleteEvent() {
  }


  public Long getCommentId() {
    return commentId;
  }

  public void setCommentId(Long commentId) {
    this.commentId = commentId;
  }

  public PostEventType getEventType() {
    return eventType;
  }

  public void setEventType(PostEventType eventType) {
    this.eventType = eventType;
  }


  public String getReason() {
    return reason;
  }

  public void setReason(String reason) {
    this.reason = reason;
  }

  @Override
  public String routingKey() {
    return "horizon.domain.user.post.comment.delete";
  }
}

